style_class: 'overview-controls',
clip_to_allocation: true });
- Main.overview.connect('showing', Lang.bind(this, this._onOverviewShowing));
Main.overview.connect('hiding', Lang.bind(this, this._onOverviewHiding));
Main.overview.connect('item-drag-begin', Lang.bind(this, this._onDragBegin));
transition: 'easeOutQuad' });
},
- _onOverviewShowing: function() {
- this._visible = true;
- this.layout.slideX = this._getSlide();
- this.layout.translationX = this._getTranslation();
- this.slideIn();
- },
-
_onOverviewHiding: function() {
+ // We need to explicitily slideOut since showing pages
+ // doesn't implies to slide out, instead, hiding the overview does.
this.slideOut();
},